//
//  UIView+IBExtension.swift
//  swift-新浪微博0
//
//  Created by 赵玉忠 on 16/8/29.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit
extension UIView{
   @IBInspectable var cornerRadius : CGFloat{
        set{
            layer.cornerRadius = newValue
            layer.masksToBounds = newValue>0
        }
        get{
            return layer.cornerRadius
        }
    }
    
}
